package flow.action;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.KeyStroke;


public class FileAction extends AbstractAction {
	public FileAction(String name ){
		super(name);
	}
	public  FileAction(String name ,KeyStroke keystroke){
		this(name);
		if(keystroke!=null){
			putValue(ACCELERATOR_KEY,keystroke);
		}
		
	}
	public FileAction(String name ,KeyStroke keystroke,String tooltip){
		this(name);
		if(keystroke!=null){
			putValue(ACCELERATOR_KEY,keystroke);
		}
		if(tooltip!=null){
			putValue(LONG_DESCRIPTION,tooltip);
		}
	}
	
	
	


	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
		
	}

}
